package jsu.blogger.service.inter;

import jsu.blogger.pojo.VerificationCode;

public interface LoginAndRegisterService {

    Long login(String email,String password,String currentDevice);//登录服务，成功就返回uid，失败返回-1

    int Register(String email, String password, VerificationCode verificationCode);//0邮箱重复，1验证码错误或过期，2成功
}
